<?php
/**
* Letterman Newsletter Component
* 
* @package Letterman
* @author Soeren
* @copyright Soeren Eberhardt <soeren@virtuemart.net>
*   (who just needed an easy and *working* Newsletter component for Mambo 4.5.1 and mixed up Newsletter and YaNC)
* @copyright Mark Lindeman <mark@pictura-dp.nl> 
*    (parts of the Newsletter component by Mark Lindeman; Pictura Database Publishing bv, Heiloo the Netherland)
* @copyright Adam van Dongen <adam@tim-online.nl>
*    (parts of the YaNC component by Adam van Dongen, www.tim-online.nl)
*    
* @copyright Philip Sylvain <contact@sphilip.com>
*  	(MVC refactorization and AJAX)
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*
*/


// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die();

jimport( 'joomla.application.component.view');

class LettermanViewConfig extends JView

{
	var $pagination = null ;
	
	function display( $tpl = null )
	{
		 // Create the form
		$this->form =& Com_Letterman::getParams();
		$this->form->loadSetupFile( JPATH_COMPONENT.DS.'models'.DS.'Config.xml' );
		
		/*$style = '<link rel="stylesheet" type="text/css" href="components/com_jea/views/jea.css" />';
		
		$mainframe =& JFactory::getApplication();
		$mainframe->addCustomHeadTag($style);*/
		
		
	    JHTML::_('behavior.tooltip');
	    JToolBarHelper::title(   'Letterman : ' . JText::_( 'Configuration' ), 'cpanel.png' );
	    JToolBarHelper::save();
	    JToolBarHelper::makeDefault();
		
		parent::display($tpl);
	}
	
	
}
